<template>
  <br>
  <h3 style="color: red"><strong>{{title}}</strong></h3> <br>
  <p v-for="name in list">{{name}}</p>
  <p v-for="user of userList">{{user.name}}-{{user.age}}</p>


</template>

<script>
export default {
  name: "Demo",
  data(){
    return{
      title:"9.列表渲染",
      list:["name1","name2","name3"],
      userList:[{"name":"name1","age":29},{"name":"name2",age:30}]
    }
  }
}
</script>

<style scoped>

</style>